package util.exceptions;

import javax.swing.JOptionPane;

public class UnknownElementException extends FOCException {
	/**
	 * For serialization.
	 */
	private static final long serialVersionUID = 1L;
	private String nonelement;
	
	public UnknownElementException(String nonelement){
		this.nonelement = nonelement;
	}
	
	@Override
	public void showMessageDialog() {
		showMessageDialog("You have an unknown element in your equation. \""+nonelement+"\"","Error",JOptionPane.ERROR_MESSAGE);
	}

	
	
}
